package cn.stylefeng.guns.sys.modular.tao.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 库存规格表
 * </p>
 *
 * @author 
 * @since 2019-09-11
 */
@TableName("zt_stock_sku")
public class StockSku implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Integer id;

    /**
     * 商品编码
     */
    @TableField("num_id")
    private String numId;

    /**
     * sku数字id
     */
    @TableField("sku_id")
    private String skuId;

    /**
     * Sku的实际库存数量
     */
    @TableField("skuqty")
    private BigDecimal skuqty;

    /**
     * 可销售库存数量
     */
    @TableField("sku_saleqty")
    private BigDecimal skuSaleqty;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumId() {
        return numId;
    }

    public void setNumId(String numId) {
        this.numId = numId;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public BigDecimal getSkuqty() {
        return skuqty;
    }

    public void setSkuqty(BigDecimal skuqty) {
        this.skuqty = skuqty;
    }

    public BigDecimal getSkuSaleqty() {
        return skuSaleqty;
    }

    public void setSkuSaleqty(BigDecimal skuSaleqty) {
        this.skuSaleqty = skuSaleqty;
    }

    @Override
    public String toString() {
        return "StockSku{" +
        "id=" + id +
        ", numId=" + numId +
        ", skuId=" + skuId +
        ", skuqty=" + skuqty +
        ", skuSaleqty=" + skuSaleqty +
        "}";
    }
}
